package com.ssy.lingxi.order.service.base;

import com.ssy.lingxi.order.entity.BasePurchaseProcessDO;
import com.ssy.lingxi.order.model.vo.platform.response.PlatformBasePurchaseProcessVO;
import com.ssy.lingxi.order.model.vo.process.response.BasePurchaseProcessVO;

import java.util.List;

/**
 * 基础采购流程相关接口
 * @author 万宁
 * @version 2.0.0
 * @date 2021-07-24
 */
public interface IBasePurchaseProcessService {

    /**
     * 查询基础采购流程列表
     * @return 基础采购流程列表
     */
    List<BasePurchaseProcessVO> listProcesses();

    /**
     * 从平台后台查询基础采购流程
     * @return 基础采购流程
     */
    List<PlatformBasePurchaseProcessVO> listProcessByPlatform();

    /**
     * 根据Id查询
     * @param id id
     * @return 查询结果
     */
    BasePurchaseProcessDO findById(Long id);
}
